package com.ml.mall.bean.req.variant;

import com.ml.mall.bean.req.BaseBeanReq;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by kyyang on 2021/5/17 22:22
 */
@Data
public class VariantSalesEditReq extends BaseBeanReq {

    @NotNull(message = "promoId is not null")
    private Long promoId;

    private Long variantId;

    private String salesName;

    private BigDecimal price;

    private Date beginTime;

    private Date endTime;

    private int state;


}
